import request from '@/utils/request'

// 列表
export const getNoticeList = data => request('/system/notice/appList', 'get', data)

// 获取详情
export const getNoticeDetail = id => request(`/system/notice/${id}`, 'get')

// 新增回复
export const sysNoticeReply = data => request(`/system/sysNoticeReply`, 'post', data)

// 修改回复
export const updateSysNoticeReply = data => request(`/system/sysNoticeReply`, 'put', data)

// 回复列表
export const sysNoticeReplyList = data => request(`/system/sysNoticeReply/list`, 'get', data)